/*
 * Copyright (c) 2022  by Junzhao
 * THIS FILE IS PART OF JAVASE Song Huongkang PROJECT
 * All Rights Reserved.
 */

package 练习.银行账户管理;

class Customer {
    // 属性
    private String firstName;// 名
    private String lastName;// 姓
    private Account Account;// 账户

    // 类的方法


    // 构造器
    public Customer(String firstName, String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
    }
    // 取存器

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public Account getAccount() {
        return Account;
    }

    public void setAccount(Account account) {
        this.Account = account;
    }
}
